package com.infohold.jldsw.plugin;

import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONArray;
import org.json.JSONException;

/**
 * Created by DEVILIVED on 2016/11/14.
 */

public class HybridBridge extends CordovaPlugin {

    public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
        return true;
    }

    public Boolean shouldAllowRequest(String url) {
        return true;
    }

    public Boolean shouldAllowBridgeAccess(String url) {
        return true;
    }
}
